<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>打印列表</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">


<style type="text/css">
.layui-warpp{
   width: 900px;
   margin: 0 auto;

}
.layui-form-label {
    float: left;
    display: block;
    padding: 9px 15px;
    width: 80px;
    font-weight: 400;
    line-height: 20px;
    text-align: right;
}
/*.layui-input {
    height: 38px;
    line-height: 1.3;
    border-width: 1px;
    border-style: solid;
    background-color: #fff;
    border-radius: 2px;
}*/
.layui-btn {
    display: inline-block;
    height: 38px;
    line-height: 38px;
    padding: 0 18px;
    background-color: #009688;
    color: #fff;
    white-space: nowrap;
    text-align: center;
    font-size: 14px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
}
.layui-form-label{
  width: 150px;
}
.layui-maleft{ margin:-left:110px;}
.sbumitdiv{
   float: right;margin-right: 20px;
}
.layui-input{
    height: 38px;
    line-height: 1.3;
    padding: 9px 15px;
}
.hr{
   margin-top: 10%;
    height: 1px;
    margin: 10px 0;
    border: 0;
    clear: both;
background-color: #e6e6e6;
}
.layui-form-item {
    margin-bottom: 15px;
    clear: both;
    *zoom: 1;
}
.layui-form-label {
    float: left;
    display: block;
    padding: 9px 15px;
    width: 120px;
    font-weight: 400;
    line-height: 20px;
    text-align: right;
}
</style>
</head>
<body>
<br/><br/>
<div class="layui-warpp">
     <form class="layui-form baoan-file_upload"  method="post" enctype="multipart/form-data" action="">
     <div class="layui-form-item layui-row">
            <label class="layui-form-label ">温馨提示：</label>
            <div class="layui-input-block  ">
                请按照模板样式填写数据 <a href="./theme/uploadXls/demo.xls"> 【下载模板】</a>
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <label class="layui-form-label ">请选择文件：</label>
            <div class="layui-input-block  ">
                <input type="file" style="" name="file_upload"  placeholder="请选择文件"  class="layui-input" >
            </div>
        </div>
        <br/><br/><br/><br/><br/><br/>
          <hr class="hr">
           <div class="layui-form-item sbumitdiv">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit lay-filter="formup">上传</button>
                    </div>
           </div>
    </form>
    <script type="text/javascript" src="./theme/print/js/layui.all.js"></script>
</div>
<script>
        layui.use(['form'], function(){
            var form = layui.form;


        //监听提交
       form.on('submit(formup)', function(data){
           layer.closeAll();
          });




 });
</script>

</body>
</html>










